﻿// See https://aka.ms/new-console-template for more information
using DK.RingLinkedList;

//var rsll = new RingSingleLinkedList<string>();
//rsll.Add("吃小孩").Add("吃福建人");
//rsll.Delete(0);

//Console.WriteLine(rsll.ToString());

var jsf = new JosephRing(9, 125, 20).PopOrder();
foreach (var item in jsf)
{
    Console.WriteLine("[{0}]", item);
}